package com.xcfw.dorm.entity;

/**
 * 数字枚举
 */
public enum NumEnum {
    /**
     * 成功失败
     */
    TWO(2), THREE(3), FIVE(5), FOURHFOUR(404), FIVEHZREO(500), FOURHZERO(400), SUCCESS(1000), FAIL(1001), FREE(1002), MB(1024000);

    /**
     * 序号
     */
    private int index;

    NumEnum(int index) {
        this.index = index;
    }


    /**
     * get
     *
     * @return get
     */
    public int getIndex() {
        return index;
    }

    /**
     * set
     *
     * @param index set
     */
    public void setIndex(int index) {
        this.index = index;
    }

}
